package co.edu.unal.satacredito.database.administration.ejb;

import java.util.List;

import javax.ejb.Local;

import co.edu.unal.satacredito.database.administration.exceptions.DAOException;
import co.edu.unal.satacredito.database.entity.Establishment;

@Local
public interface EstablishmentDaoEJBLocal {

	public Establishment findEstablishmentById(String id) throws DAOException;

	public List<Establishment> findAllEstablishment() throws DAOException;
	
	public void createEstablishment(Establishment establishment) throws DAOException;
	
	public void editEstablishment(String id, Establishment establishment) throws DAOException;

	public void deleteEstablishment(String id) throws DAOException;
	
}
